FileSaver.this

Creates a new #GtkSourceFileSaver object. The @buffer will be saved to the [class@File]'s location.

This constructor is suitable for a simple "save" operation, when the @file already contains a non-%NULL [property@File:location].

Parameters

buffer Buffer

the #GtkSourceBuffer to save.

file File

the #GtkSourceFile.

Return Value

a new #GtkSourceFileSaver object.

Throws

ConstructionException GTK+ fails to create the object.

Meta